<?php $docTitle = 'OWNONLY';?>
<?php include THEMES_PATH.'public/before_body2.phtml';?>
</head>
<body>
<?php include THEMES_PATH.'public/header2.phtml';?>
<div class="main-width align-center mt2x mb5x">
  <h2 class="title"><?php echo L('page_not_found');?></h2>
  <a href="<?php echo url('');?>" class="btn btn-middle"><?php echo L('back');?></a>
</div>
<div class="main-width heading">
  <strong><?php echo L('_You_May_Also_Like_');?></strong>
</div>
<div class="ovh rel main-width align-center carousel-box">
  <div class="ovh carousel js-carousel">
    <ul class="rel">
      <?php
        if(!isset($productList) || empty($productList)){
          $where = array(
            'is_sell' => 1,
            'catid'=>2061,
          );
          $productList = ProductModel::get_product_list($where, 0, 20);
        }
        if(isset($productList) && $productList):
          foreach ($productList as $key => $product):
      ?>
      <li>
        <a href="<?php echo $product['url'];?>">
          <img src="<?php echo $product['goods_img']?>">
          <?php if(!empty($product['ml_img'])){ ?>
          <img src="<?php echo $product['ml_img']?>" class="hide">
          <?php } ?>
        </a>
        <p>
          <a href="<?php echo $product['url'];?>"><?php echo $product['name'];?></a>
        </p>
        <p>
          <?php
            if($product['attribute_type']==2){
              if($product['product_type']){
                echo currency($product['sell_price']);
              }else{
                echo currency($product['advanced_price']);
              }
            }elseif($product['attribute_type']==1){
              echo currency($product['custom_price']);
            }
          ?>
        </p>
      </li>
      <?php
          endforeach;
        endif;
      ?>
    </ul>
  </div>
  <span class="fa fa-2x fa-chevron-left carousel-control-prev js-carousel-control-prev"></span>
  <span class="fa fa-2x fa-chevron-right carousel-control-next js-carousel-control-next"></span>
</div>
<!-- build:js /statics/front/pkg/js/carousel.js -->
<script src="/statics/front/js/plugins/carousel/jquery.jcarousel.min.js"></script>
<script src="/statics/front/js/plugins/carousel/jquery.jcarousel-swipe.min.js"></script>
<script src="/statics/front/js/scripts/carousel-list.js"></script>
<!-- endbuild -->
<?php include THEMES_PATH.'public/footer2.phtml';?>
<?php include THEMES_PATH.'public/after_body.phtml';?>